home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 9 / FM Towns Free Software Collection 9.iso / taropyon / silib / inc / sitsl.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-16  |  788 b   |  39 lines

  1. #ifndef    _SITSL_H
  2. #define    _SITSL_H
  3.  
  4. #ifndef    _SITSK_H
  5. #    include    <sitsk.h>
  6. #endif
  7.  
  8. typedef struct _tsklst_t    /* タスク一覧構造体    */
  9. {
  10.     struct _tsklst_t    *next;
  11.  
  12.     unsigned int    att;
  13.     unsigned int    stt;
  14.     char            tskName[128];        /* タスク名    */
  15.     int                (*entryFunc)(TSK_T *,int,...);
  16.                                         /* エントリ関数    */
  17.  
  18. } TSLST_T;
  19.  
  20. typedef struct
  21. {
  22.     int            lstNum;
  23.     TSLST_T        *lstTop;
  24. } TSL_T;
  25.  
  26. extern    TSL_T    *SiTsl;
  27.  
  28. /*    "tsl010.c"        ----------------------------------------------------*/
  29. extern    int        TSL_init(void);
  30. extern    void    TSL_term(void);
  31.  
  32. /*    "tsl011.c"        ----------------------------------------------------*/
  33. extern    int        TSL_link( TSLST_T *lst );
  34.  
  35. /*    "tsl012.c"        ----------------------------------------------------*/
  36. extern    int        TSL_unlink( TSLST_T *lst );
  37.  
  38. #endif
  39.